// 封装用户的操作
import service from  '../request.js'


export function login(sysUser){
    return service({
        method:"post",
        url:'/user/login',
        data:sysUser
    })
}

/**
 *  获取用户资源
 */
export function getResources(){
    return service({
        method:'get',
        url:'/user/info'
    })
}